﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.microsoft.com/maml/dev/command/2004/10" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:import namespace="http://schemas.microsoft.com/maml/2004/10" />
	<xs:import namespace="http://schemas.microsoft.com/maml/dev/2004/10" />
	<xs:element name="command">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="details">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="name" type="xs:string" />
							<xs:element xmlns:q1="http://schemas.microsoft.com/maml/2004/10" ref="q1:description" />
							<xs:element xmlns:q2="http://schemas.microsoft.com/maml/2004/10" ref="q2:copyright" />
							<xs:element name="verb" type="xs:string" />
							<xs:element name="noun" type="xs:string" />
							<xs:element xmlns:q3="http://schemas.microsoft.com/maml/dev/2004/10" ref="q3:version" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="syntax">
					<xs:complexType>
						<xs:sequence minOccurs="0">
							<xs:element maxOccurs="unbounded" name="syntaxItem">
								<xs:complexType>
									<xs:sequence>
										<xs:element xmlns:q4="http://schemas.microsoft.com/maml/2004/10" ref="q4:name" />
										<xs:element maxOccurs="unbounded" name="parameter">
											<xs:complexType>
												<xs:sequence>
													<xs:element xmlns:q5="http://schemas.microsoft.com/maml/2004/10" ref="q5:name" />
													<xs:element name="parameterValue">
														<xs:complexType>
															<xs:simpleContent>
																<xs:extension base="xs:string">
																	<xs:attribute name="required" type="xs:string" use="required" />
																</xs:extension>
															</xs:simpleContent>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
												<xs:attribute name="required" type="xs:string" use="required" />
												<xs:attribute name="position" type="xs:string" use="required" />
											</xs:complexType>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="parameters">
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" name="parameter">
								<xs:complexType>
									<xs:sequence>
										<xs:element xmlns:q6="http://schemas.microsoft.com/maml/2004/10" ref="q6:name" />
										<xs:element xmlns:q7="http://schemas.microsoft.com/maml/2004/10" ref="q7:description" />
										<xs:element name="parameterValue">
											<xs:complexType>
												<xs:simpleContent>
													<xs:extension base="xs:string">
														<xs:attribute name="required" type="xs:string" use="required" />
													</xs:extension>
												</xs:simpleContent>
											</xs:complexType>
										</xs:element>
										<xs:element xmlns:q8="http://schemas.microsoft.com/maml/dev/2004/10" ref="q8:type" />
										<xs:element xmlns:q9="http://schemas.microsoft.com/maml/dev/2004/10" ref="q9:defaultValue" />
									</xs:sequence>
									<xs:attribute name="required" type="xs:string" use="required" />
									<xs:attribute name="variableLength" type="xs:string" use="required" />
									<xs:attribute name="globbing" type="xs:string" use="required" />
									<xs:attribute name="pipelineInput" type="xs:string" use="required" />
									<xs:attribute name="position" type="xs:string" use="required" />
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element xmlns:q10="http://schemas.microsoft.com/maml/2004/10" ref="q10:description" />
				<xs:element minOccurs="0" name="inputTypes">
					<xs:complexType>
						<xs:sequence minOccurs="0">
							<xs:element maxOccurs="unbounded" xmlns:q11="http://schemas.microsoft.com/maml/2004/10" ref="q11:para" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="returnValues">
					<xs:complexType>
						<xs:sequence minOccurs="0">
							<xs:element maxOccurs="unbounded" xmlns:q12="http://schemas.microsoft.com/maml/2004/10" ref="q12:para" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="examples">
					<xs:complexType>
						<xs:sequence>
							<xs:element maxOccurs="unbounded" name="example">
								<xs:complexType>
									<xs:sequence>
										<xs:element xmlns:q13="http://schemas.microsoft.com/maml/2004/10" ref="q13:title" />
										<xs:element xmlns:q14="http://schemas.microsoft.com/maml/dev/2004/10" ref="q14:code" />
										<xs:element xmlns:q15="http://schemas.microsoft.com/maml/dev/2004/10" ref="q15:remarks" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element xmlns:q16="http://schemas.microsoft.com/maml/2004/10" ref="q16:relatedLinks" />
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>